package com.ic.loan.pop

import android.content.Context
import com.ic.loan.R
import com.lxj.xpopup.core.CenterPopupView
import com.lxj.xpopup.util.XPopupUtils
import kotlinx.android.synthetic.main.pop_audit.view.*

class AuditPop(var mContext: Context):CenterPopupView(mContext) {
    override fun getImplLayoutId(): Int {
        return R.layout.pop_audit
    }

    override fun getMaxWidth(): Int {
        return XPopupUtils.getAppWidth(mContext)
    }

    override fun onCreate() {
        super.onCreate()
        ivClose.setOnClickListener {
            dismiss()
        }
    }
}